package com.wenli.lt.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author lt
 * @since 2021-03-21
 */
@Data
@TableName("class")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Classes implements Serializable {


    private static final long serialVersionUID = -3654281197169016441L;
    /**
     * 班级ID  添加的时候不传 自动生成
     *
     */
    @TableId(value = "classId")
    private String classId;

    /**
     * 班级名
     * @required
     */
    @TableField("className")
    private String className;

    /**
     * 学院
     * @required
     */
    @TableField("collegeId")
    private String collegeId;

    /**
     * 年纪
     *@required
     */
    @TableField("gradeId")
    private String gradeId;


}
